package com.xiaoxi.open.design.creation.abstractfactorypattern.service.product.huawei;

import com.xiaoxi.open.design.creation.abstractfactorypattern.service.product.factory.PhoneService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @ClassName HuaweiPhoneServiceImpl
 * @Description
 * @Author xiaoxi
 * @Date 2024/5/12 20:34
 * @Version 1.0
 */
@Service
@Slf4j
public class HuaweiPhoneServiceImpl implements PhoneService {

    @Override
    public void power() {
        System.out.println("华为手机开机");
    }

    @Override
    public void shutdown() {
        System.out.println("华为手机关机");
    }

    @Override
    public void call() {
        System.out.println("华为手机打电话");
    }
}
